9d428f74fa209ea6dd91f3a1ea0bc1c937bad14e,framework/src/main/java/org/apache/felix/framework/searchpolicy/R4SearchPolicyCore.java,R4SearchPolicyCore,isClassSpaceConsistent,#IModule#Map#Map#Map#,959

Before Change


                // is compatible with the package source of the module's
                // package map.
                ResolvedPackage rpUses = (ResolvedPackage) entry.getValue();
                if (!rp.isSubset(rpUses) && !rpUses.isSubset(rp))
                {
                    m_logger.log(
                        Logger.LOG_DEBUG,

After Change


                    // Determine if the implied "uses" constraint is compatible with
                    // the root module's package sources for the given "used" package.
                    // They are compatible if one is the subset of the other.
                    if (rp.isSubset(rpUses) || rpUses.isSubset(rp))
                    {
                        // In case they are compatible, then create the union of
                        // the root module's package sources and those of the